/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package com.theme.passport.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "下载,浏览,点赞，购买表单")
public class DownloadBrowseLikeBuyForm {

    @ApiModelProperty(value = "用户", notes = "用户id")
    private Long userId;

    @ApiModelProperty(value = "类型", notes = "1主题，2组件,3壁纸", required = true)
    @NotNull(message="类型不能为空(1主题，2组件,3壁纸)")
    private Integer type;

    @ApiModelProperty(value = "对象id", notes = "", required = true)
    @NotNull(message="操作对象不能为空")
    private Long objectId;

    @ApiModelProperty(value = "购买主题价格", notes = "购买主题价格")
    private Long price;

    @ApiModelProperty(value = "购买主题状态", notes = "购买主题状态：1未支付,2已支付")
    private Integer status;

}
